package com.youlin.dto.req;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@NoArgsConstructor
@Data
@Accessors(chain = true)
public class FindAllAreaReqDto {

    @ApiModelProperty(value = "上级区域ID：1-查询所有省份，2-查询所有城市，省份ID-查询省份下所有城市", position = 1)
    private Integer parentId;

    @ApiModelProperty(value = "true-单位管理，false-新建/编辑", position = 2)
    private Boolean query;

}
